<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_bn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="col-xs-12 col-sm-8">
                <a data-url="product_lists/products?status=radio&action=1" href="#"  class="btn btn-success btn-ajaxs"  data-title="选择产品" id="choose_product" >{$row.product_bn|htmlentities}</a>
                <input type="hidden" id="product" name="row[product_bn]" value="{$row.product_bn|htmlentities}">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-batch" data-rule="required" class="form-control" name="row[batch]" type="text" value="{$row.batch|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehouseid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehouseid" data-rule="required" data-source="warehouse/warehouse/selectpage" class="form-control selectpage" name="row[warehouseid]" type="text" value="{$row.warehouseid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Locationid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-locationid" data-rule="required" data-source="warehouse/location/selectpage" class="form-control selectpage" name="row[locationid]" type="text" value="{$row.locationid|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
